//
//  LCGPDetailCell.m
//  YinYueTai
//
//  Created by CongCong on 15-7-23.
//  Copyright (c) 2015年 CongCong. All rights reserved.
//

#import "LCGPDetailCell.h"
#import "UIImageView+WebCache.h"
#define kScreenSize [UIScreen mainScreen].bounds.size
@implementation LCGPDetailCell
- (void)showModel:(LCGPDetailListModel *)model andSize:(CGSize)size
{
    [self.iconImage sd_setImageWithURL:[NSURL URLWithString:model.userinfo.icon] placeholderImage:[UIImage imageNamed:@""]];
    self.name.text = model.userinfo.uname;
    self.addtime.text = model.addtime_f;
    self.commom.text = model.content;
    self.commom.frame = CGRectMake(5,50, kScreenSize.width-10, size.height);
    
}
- (void)awakeFromNib {
    // Initialization code
}

@end
